﻿using Volo.Abp.Application.Dtos;
using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace PasteLoggerBoard.serilogmodels
{

            ///<summary>
            ///应用信息
            ///</summary>
    public class AppInfoAddDto
    {

            ///<summary>
            ///应用代码 在配置文件中相互匹配 16
            ///</summary>
        [MaxLength(16)]
public string AppName { get; set; }

            ///<summary>
            ///显示名称 32
            ///</summary>
        [MaxLength(32)]
public string DisplayName { get; set; }

            ///<summary>
            ///介绍 128
            ///</summary>
        [MaxLength(128)]
public string Desc { get; set; }

            ///<summary>
            ///排序
            ///</summary>
        
public int Sort { get; set; }
    }
            ///<summary>
            ///应用信息
            ///</summary>
    public class AppInfoDto: EntityDto<int>
    {

        ///<summary>
        ///应用代码 在配置文件中相互匹配 16
        ///</summary>
        [MaxLength(16)]
public string AppName { get; set; }

        ///<summary>
        ///显示名称 32
        ///</summary>
        [MaxLength(32)]
public string DisplayName { get; set; }

        ///<summary>
        ///介绍 128
        ///</summary>
        [MaxLength(128)]
public string Desc { get; set; }

        ///<summary>
        ///排序
        ///</summary>
        
public int Sort { get; set; }
    }
            ///<summary>
            ///应用信息
            ///</summary>
        public class AppInfoListDto: EntityDto<int>
    {

        ///<summary>
        ///应用代码 在配置文件中相互匹配 16
        ///</summary>
        [MaxLength(16)]
public string AppName { get; set; }

        ///<summary>
        ///显示名称 32
        ///</summary>
        [MaxLength(32)]
public string DisplayName { get; set; }

        ///<summary>
        ///介绍 128
        ///</summary>
        [MaxLength(128)]
public string Desc { get; set; }

        ///<summary>
        ///排序
        ///</summary>
        
public int Sort { get; set; }
    }

            ///<summary>
            ///应用信息
            ///</summary>
        public class AppInfoUpdateDto: EntityDto<int>
    {

                ///<summary>
                ///应用代码 在配置文件中相互匹配 16
                ///</summary>
            [MaxLength(16)]
public string AppName { get; set; }

                ///<summary>
                ///显示名称 32
                ///</summary>
            [MaxLength(32)]
public string DisplayName { get; set; }

                ///<summary>
                ///介绍 128
                ///</summary>
            [MaxLength(128)]
public string Desc { get; set; }

                ///<summary>
                ///排序
                ///</summary>
            
public int Sort { get; set; }
    }
}
